/**
 * 环境配置封装
 */
const env = import.meta.env.MODE || 'prod'
const EnvConfig = {
  dev: {
    baseApi: '/api',
    mockApi: 'https://www.fastmock.site/mock/0ddb48889ed2fc3c6a4f8458d9fa66b1/api'
  },
  test: {
    baseApi: '',
    mockApi: 'https://www.fastmock.site/mock/0ddb48889ed2fc3c6a4f8458d9fa66b1/api'
  },
  prod: {
    baseApi: '',
    mockApi: 'https://www.fastmock.site/mock/0ddb48889ed2fc3c6a4f8458d9fa66b1/api'
  }
}
export default {
  env: 'dev',
  mock: true,
  ...EnvConfig[env]
}